﻿<%@ Page Title="Register" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true"
    CodeBehind="Register.aspx.cs" Inherits="Financeiro.Account.Register" %>

<asp:Content ID="HeaderContent" runat="server" ContentPlaceHolderID="HeadContent">
</asp:Content>
<asp:Content ID="BodyContent" runat="server" ContentPlaceHolderID="MainContent">
    <span class="failureNotification">
        <asp:Literal ID="ErrorMessage" runat="server"></asp:Literal>
    </span>
    <asp:ValidationSummary ID="RegisterUserValidationSummary" runat="server" CssClass="failureNotification"
        ValidationGroup="RegisterUserValidationGroup" />
    <br />
    Informações
    <br />
    <br />
    Nome:
    <br />
    <asp:TextBox ID="txtNome" runat="server" CssClass="textEntry"></asp:TextBox>
    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtNome"
        CssClass="failureNotification" ErrorMessage="Nome Necessário." ToolTip="Nome Necessário."
        ValidationGroup="RegisterUserValidationGroup">*</asp:RequiredFieldValidator>
    <br />
    Login:
    <br />
    <asp:TextBox ID="UserName" runat="server" CssClass="textEntry"></asp:TextBox>
    <asp:RequiredFieldValidator ID="UserNameRequired" runat="server" ControlToValidate="UserName"
        CssClass="failureNotification" ErrorMessage="Login Necessário." ToolTip="Login Necessário."
        ValidationGroup="RegisterUserValidationGroup">*</asp:RequiredFieldValidator>
    <br />
    <asp:Label ID="PasswordLabel" runat="server" AssociatedControlID="Password">Senha:</asp:Label>
    <br />
    <asp:TextBox ID="Password" runat="server" CssClass="passwordEntry" TextMode="Password"></asp:TextBox>
    <asp:RequiredFieldValidator ID="PasswordRequired" runat="server" ControlToValidate="Password"
        CssClass="failureNotification" ErrorMessage="Senha Necessária" ToolTip="Senha Necessária"
        ValidationGroup="RegisterUserValidationGroup">*</asp:RequiredFieldValidator>
    <br />
    <asp:Label ID="ConfirmPasswordLabel" runat="server" AssociatedControlID="ConfirmPassword">Confirme a Senha</asp:Label>
    <br />
    <asp:TextBox ID="ConfirmPassword" runat="server" CssClass="passwordEntry" TextMode="Password"></asp:TextBox>
    <asp:RequiredFieldValidator ControlToValidate="ConfirmPassword" CssClass="failureNotification"
        Display="Dynamic" ErrorMessage="Confirme a Senha." ID="ConfirmPasswordRequired"
        runat="server" ToolTip="Confirme a Senha." ValidationGroup="RegisterUserValidationGroup">*</asp:RequiredFieldValidator>
    <asp:CompareValidator ID="PasswordCompare" runat="server" ControlToCompare="Password"
        ControlToValidate="ConfirmPassword" CssClass="failureNotification" Display="Dynamic"
        ErrorMessage="Senhas Diferentes." ValidationGroup="RegisterUserValidationGroup">*</asp:CompareValidator>
    <br />
    <asp:Button ID="btnRegistrar" runat="server" CommandName="MoveNext" Text="Registrar"
        ValidationGroup="RegisterUserValidationGroup" 
        onclick="btnRegistrar_Click" />
</asp:Content>
